package com.rtp2p.rtcoresdkdemo.add

import androidx.lifecycle.ViewModel

class AddViewModel : ViewModel() {
    enum class AddType { Ap, Ble }
    var addType = AddType.Ap
        private set

    fun updateAddType(value: AddType) {
        this.addType = value
    }

    var wifiSsid: String = ""
        private set
    var wifiPwd: String = ""
        private set

    fun updateWifi(ssidValue: String, pwdValue: String) {
        this.wifiSsid = ssidValue
        this.wifiPwd = pwdValue
    }
}